//service统一出口
import APIRequest from "@/service/request/request";
import {BASE_URL, BASE_TIME} from './request/config'
const apiRequest = new APIRequest({
  baseURL:BASE_URL,
  timeout: BASE_TIME,
  interceptors: {
    requestInterceptors: (config) => {
      const token = ''
      if (token) {
        // config.headers.Authorization = `Bearer ${token}`
      }
      return config
    },
  }
})
export default apiRequest